Can one be madly in love with spouse but have a crush on someone else?

i'm currently single but trying to fix my relationship with my ex, but at the same time i really want to get to know this other guy from my school but ive never talked with him before. Has this ever happened to you guys? how can i choose between 1????