As long as the macro on the side of your mouse only binds to one key, then it is perfectly fine! The situation you stated is acceptable, however, please keep in mind that binding a macro to do more than one action/press more than one key is unacceptable and will result in a consequence.
Thread locked, please feel free to PM me with any further questions, and have a nice day!