To answer your headline question yes, it is possible to mount your /media/ant from a .bashrc simply put
in the relevant file. Unfortunately you have to run
root so you have to arrange arrange for the particular user to be able to run mount as root e.g. via sudo. This gets complicated and introduces other security issues.
As configured the
/media/ant directory will be mounted when your system is started or when a root capable account issues a suitable mount command e.g.
mount -a. If this doesn't do what you want then you probably want to configure the automounter to mount he share when it is accessed e.g.
/etc/auto.master and add a line like
ant -fstyp=cifs,gid=users,file_mode=0664,dir_mode=0775,auto,username=***,password=*** ://192.168.1.104/ant
Restart your autofs service
service autofs restart
Now when you try to access the /media/ant files it should be autmagically mounted.
As noted in the comments it'll probably be a good idea to use a different mount point.