If you’re talking about the Terminal module inside Webmin, it could work, but you’ll run into a small issue. The patch command restarts Webmin in a way that terminates the active Webmin session, which cuts off the patch’s cleanup steps mid-process.
Things will probably still work afterward, but you may end up with a few leftover .orig files in the Webmin root directory.
And, if you’re using a regular terminal outside of Webmin, though, everything should work without problems.
Nevertheless, I should probably figure out how to make the patch command play nice when run from Webmin’s terminal too.