This leans towards ridiculous, but I don't see anything in the rules about tanks not close assaulting each other. The chances of doing real harm aren't very good though. It would rarely make sense to do this, if it is allowed. Perhaps as a second attack after using the main gun that turn.
-snick
-snick