Falling in love with someone 25 years older?

Is this okay? My coworker is 25 years older than me I’m 24 and he’s 49.