I friend of mine tried something similar for an art project some times ago using mostly Nokia Phones.
For some unknown reason Internet-over-bluetooth was hidden from the UI even on many unlocked devices, only Symbian v2 or v3 devices had the option readily available.
We tried building a gsm "bridge" network for any device in a few centimeters in radius using the GPIO pins from a raspberry pi acting as a SDR, but at the time we couldn't get it to work at all.
There were a lot of weird carrier politics back in the day. I remember using a native, excellent SIP client on a S60 3rd edition phone, but Nokia ripping it out for a later 5th edition one, presumably due to carrier pressures about lost calling minutes.