It's aD&D is role-play. If a die roll was performed to decide about what your character would do, thanthen it makes no sense and denies the nature of the game. Any action taken by your character should be dictated by playing a role (with minor exceptions).
However, dice rolls may be used to check the outcome of these actions, as in kviiri's exampleskviiri's examples.
So to answer your question: DMThe DM is allowed to perform such rolls, but your DM used it the wrong way. Though it desn'tdoesn't mean that the outcome would be different if checkes would bethe checks were used properly.
To me, such a situation should be played like this:
- CH1: <tries to deceive your character (CH2)>
- DM: Both roll - CH1 for deceptiona Deception check, CH2 for a Wisdom saving throw for wisdom
- [It seems that your saving throw roll was lower than CH1 deception throw]CH1's Deception check]
- CH2: <Believes inthe lie and acts accordingly>
The last line probably meansresults in the same outputoutcome as your DM forced you to do, but not necessarily. It's up to you really, though it seems like the most probable and realistic behavior.