Have you ever lost yourself because of someone?

Like you were so into them that you neglected going to the gym or prioritizing sleep. Or was it the opposite? They motivated you to want to go to the gym and be better?