There is no problem when the subject of どく is the speaker. It can work as a humble expression. It's hard to use どく for the addressee's action other than an order. Even in a polite form どいてもらえませんか, it has somewhat a rude nuance, so it's usually not used for superiors or strangers.