Yes, as long as you dont use them to bypass any of the server rules. Example: Do not use it to bypass the afk kick (Rapid clicking is fine). Marcos do not give you an advantage in minecraft... Even in pvp (1.10.2), macros do not help.
The only reason where I see the use of a macro is when it starts hurting in my finger when you keep pressing the sieve or keep clicking the deconstruction table. And a macro is more elegant then a book, but that's just my opinion Syllogistics out.
Anytime, you can also switch out fingers too. Not just having your middle finger pressing on the button.