Seeking advice for Dual Audio Output Feasibility

Looking for advice from mobile audio engineers or music software developers.

I’m researching a music technology concept and have a technical feasibility question:

Can modern iOS and Android devices simultaneously:

:headphone: Output one audio stream to headphones
:speaker_high_volume: Output a second synchronized audio stream to a speaker
:microphone: Record microphone input

while maintaining synchronization?

If anyone has experience with mobile audio routing, Bluetooth audio or music app development I’d appreciate a conversation.

Happy to pay for professional advice.