Audio to Bluetooth

Would it theoretically be possible to send some music in realtime to the the iPhone or iPad via bluetooth and record or hear it in realtime on that device?

From iOS 3.1 forward you can alter the audio catagory to use a paired Bluetooth device for audio input. Output does not normally have to be matched.