I wasn't able to do it directly, but i took a different approach for it.
1. I created a tmux session, not attached to a terminal.
2. Instead of calling mpv directly, i sent the command to that tmux session, with tmux send-keys to run mpv there, and it worked.
Thanks to @chrslg for the help!