How to set default call audio output to earpiece when connected to bluetooth?
I was in need of doing this exact thing today. I was forced to figure it out on my own after I couldn't find an answer online. As it turns out, it's easier than I expected.

Open your bluetooth settings, find your device, and click the settings icon for that device. You should see some options for the device. Uncheck the "Phone audio" option.