Obviously it is possible, you must see how legal it is the way you use it to do so.
the forum is certainly not the place to explain how to do these actions.
If you use google I think you find the answer in no time, and if the macro is really yours there is no copyright or right it is.