Have an iOS/iPadOS app be a bluetooth audio receiver

I was wondering if it is possible to use the bluetooth API on iPadOS to let an app become an emulated "bluetooth speaker/car". I want to make an app where an iPhone or Android phone can connect to it via bluetooth so the app can play the audio from the phone, and receive and handle calls just like a car can play audio and handle calls and display call information via bluetooth. I would also like to know if the app could also get contact information from the phone over bluetooth.

If it is possible to do so, how? I would love a friendly nudge in the right direction :)

Have an iOS/iPadOS app be a bluetooth audio receiver
 
 
Q