Not so IMO. One of the things you need to check for before an overtake is side roads . If there are any don't go!
Thats true actually - I know the highway code says bikes shouldnt filter past side roads, cant remember what it says about regular overtaking

Any traffic emerging from a side road won't be looking in your direction, so an overtake past a side road is not safe.
it's badly planned or thoughtless overtaking that's the problem.