I have thought about doing this myself. Pretty simple build to do but looks like the laser is not too random in its movement. Thought you can change the code to be more random.
https://www.instructables.com/id/Arduino-Controlled-Laser-Dog-Chaser-Toy/