Yes! As an honorific, “senpai” can apply to both genders; it is quite common for juniors and subordinates to form senpai-kohai bonds with either male or female senpais. The word is quite versatile as a term of respect, deference, and endearment, and often signifies a degree of trust from the kohai.