
Paul L. answered 03/19/19
Full-time, professional photographer and photojournalist
Yes, you certainly can!
In Photoshop, they are called actions.
You can create a custom action like a macro, which can contain just one step, or numerous steps with user input for particular functions (such as what pixel size to make the particular image). Even better, once I create an action that I use frequently, you can further speed the process up by applying a hotkey to the action.