Can men date a girl for a year and not become attached?

How? I find myself getting attached to someone I spend a lot of time with even if I don’t want to.
Can men date a girl for a year and not become attached?
Post Opinion