Sure you can, the question is - isn't this a massive overkill unless you serve like 1000 clients. Hotspot could be configured on almost every Mikrotik device. You need to pick the hardware properly according to usage, to avoid paying too much and underutilizing the router.
Edit: Typo.