Yes, but derisively referring any interaction with another human at work as “office politics” is the problem.
IMO it's almost never worth trying to make friends with your coworkers. Be nice, be helpful, and do a good job but keep your friends and work life separate.
Also why it is a problem ?
The problem is that there’s no reasonable definition of “office politics” that frames it as a positive thing. You’re approaching every interaction negatively as something you can win/lose.