Since SAS macros basically generate code anything doable in code is possible in a macro. The question is what makes a macro necessary or desirable.
Instead of yes no questions it may be a good idea to describe what you are trying to do as the solutions can vary quite a bit depending on the situation.
Catch up on SAS Innovate 2026
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.