I agree, PhDs are very different than taught courses as you have no specific cohort, and everyone is doing very different things. COVID has only made PhD isolation worse, as this means that PhD students aren't necessarily in the city where their university is based either.
I make sure to touch base with other PhD students and my non-PhD friends at least twice a week (if not once a day), otherwise I get stuck in my own head.