Is it possible to save a macro?

Is it possible to save a macro?

I have a combination of keys, let's say 1,2,3,4,5. I want to have this saved into a macro/group so I can use it interchangeably across different profiles or different buttons. Is this possible? I'm not seeing where I can save a combination of presses. It seems like I have to recreate it each time. It gets difficult when I have some complicated macro that's 20+ actions and I can't reuse it