For yalms infront of yourself, no I don't believe so. Someone feel free to correct me though if I'm mistaken.
You can use a <t> toggle to place the marker under the target you've currently selected though. So as long as it's in range you'll go right to it.

Try not to rely on macros too often for battle though. They aren't great lol.
Good luck out there.