Controlling cooling fan for Raspberry Pi 4

Yes you can have both. I use it that way.