Minimum vertical pipe height under kitchen sink drain
There is not a minimum you can do what you want. I agree with freeman that it may be prone to clogging or drain a little slower but you can make those changes and see how it works it may be just fine.