Setting Hotspot for user authentication

hi guys,

i rad a lot about hotspot feature on mikrotik, which is this feature i very helpful to allow internate access only for authorize users and as far as i know all topology that usually used for hotspot is like following

mikrotik – users

n i believe hotspot will running well on that simple topology, but now i want to use hotspot feature on my existing network topology, which is my existing was like following

router edge – firewall – switch layer3 – user

and i want to put the mikrotik between firewall and switch layer 3, so the topology would alter like following

router edge – firewall – mikrotik – switch layer3 – user

and for your information all users devices ip gateway is to switch layer 3 and this cannot be change (need lot of effort) and all users ip addresses are 192.168.1.0/24, and between mikrotik and switch layer 3 set ip 10.10.10.x/29. and with this topology i want to enable hotspot on mikrotik, so all of my users will see login page when they want to access internet, is this possible ?

please advice and suggestion