That manager advice sound horrible. That is the point of a manager. If you can't trust them with something as basic and important as team interactions, then there is a bigger problem.
If it was one person on the team causing problems, it could make sense to talk with the manager. If the entire team is toxic (or a bad fit for OP), there is little to nothing the manager can do except maybe help OP move to a different team.
Edit: To be clear, I'm not saying it's a bad idea to talk to the manager, unless the manager is one of the toxic team members. But I'm not sure it's very useful, either.
I can think of million other things that might or might not happen.
And I know only one way to really find out - try and see. Are there other ways?
I'd probably try talking to the individual team members 1:1. As uncomfortable as that would be, I think it is a better bet than having it come from the manager.