Can I use the app as a relay between a Bluetooth device and HA?

I’m wondering if I can do this with HomeAssistant Android app. I would like to make a custom Bluetooth device with a button and sensor, connect it to my phone so it travels with me and have it seen by the HA server. Is that possible?

Maybe ifttt app can rrcognize Bluetooth connection and send request to HA API