According to WireGuard - RouterOS - MikroTik Documentation
Its possible to setup a Hotspot feature to enable 2fa.. But is the documentation correct? I mean when i try that at my version 7.21 RB i am not able to select my wireguard interface..
Usually, MikroTik update the documentation while they are developing the affected features in the beta phrase, same with any changes in parameters / parameter names. In this specific example, the doc was updated back in January.
Unfortunately, there is no ability in the doc to view documentation specific to a RouterOS version. Very often you'll see that the documentation does not match the state of the current stable version. Sometimes, if you are lucky, then they may include a text saying "from RouterOS version x.yy, you can...", which was not the case for this feature.