Yes, if you open your sunroof and don't have a wind deflector, drag will increase. If you are driving fast, it may create drag even with a wind deflector. It can also lead to wind buffeting, which can make your car harder to control.