Hi @1happyslapper - welcome to CF
It is technically possible for anyone that manages to get into your network for them to just about do anything if they're skilled enough including putting malicious files on your devices, with that said the chance is slim to none. They'll either have to be physically close to your wifi network and either crack the password (difficult for modern routers using WPA2/WPA3) or have physical access to your network, or potentially get in through your internet connection.
The chances of it happening are fairly unlikely but if you suspect it has it may be worth resetting all your passwords, checking your router's security and running a virus/malware scan of every device.