While the company might give you what you ask for this one time, they will feel blackmalied and will see you as a flight risk, ready to leave for greener pastures at any moment anyway, so they'll prepare themselves by restricting your access to promotions, trainings and critical work so you don't pull that stunt again and slowly reduce its dependency on you and you could soon find yourself training your future replacements. It's all 101 in the HR handbook.
Try it, but only as long as you always have an exit planned.