I'm going to leave edibles on the counter and get my dog super high by mistake
Where are you going to place the edibles? Also where is your dog?
They will be close to his sleeping area and my dog sleeps under the table.
Letting your dog have access to drugs is a horrible idea and it is wrong to let your dog get high. Drugs can potentially harm your dog.
This is just to punish him for not listening. I know he won't enjoy this experience.
There are better ways to deal with your dog if he doesn't behave. You should train him properly.