Yes, if it makes my job easier today. I prefer to fix that later, once the feature is removed.
That being said, this is risky, and should only do if you have a mature level of control of your dependencies (you're using pinned dependencies, you are not automatically increasing to the next major version).
Also, I'd do this for software I have full control of (an API, and internal service, etc...) and not for something that I'd give to my customers, like a library.