If I buy one, is it still profitable to mine?
If you actually use the heat, absolutely! If you're just venting it outside, then nope.
I heat my house all winter with miners, I haven't had to turn on my heater (also electric) since winter 2016. So for me, running an S5 in a cold room is technically profitable.