Hello SadPython,
Thanks for your question.
IMO, It is viable if implemented correctly. It's not ideal for user identity within your main app. You can try try custom authentication flow or Sign in with Microsoft to minimize reliance on magic login links.
See:
How different technologies affect Microsoft Teams sign-in
https://learn.microsoft.com/en-us/entra/identity-platform/authentication-flows-app-scenarios
You can mark it 'Accept Answer' and 'Upvote' if this helped you
Regards,
Abiola