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.
SAS Innovate 2025: Save the Date
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!