Yes, senpai is used with both genders equally, as long as they are of higher status than you.