How to connect bluetooth speaker with hassbian

I have a program python run on pi3B+ to control my HA by my speech. The program will control my HA and response with voice. right now. the voice is come out from 3.5mm gate on pi. Can I use bluetooth connection on pi to connect some bluetooth speaker so that I dont have to use 3.5mm gate anymore?