It might work. But it might be easier to plant catnip in your own yard. A stoned cat is a happy cat with less need to wander.
And no matter how many times I tell her that, she still gives me the evil eye when I get out the rolling papers ;^)