I use ssh tunnel currently with Firefox and setup socks5 on it the point is that if the proxy is off and if there is problem with server then nothing loads,that's why I want to use socks proxy with wireguard.So when the wireguard is off and not connected the Firefox stops working as well. This is what I've found.
https://github.com/moparisthebest/wireguard-proxy
Since I'm newbie I don't know if this is what I'm looking for or not and how to use it.As my last plan I think a nasty work around could work(haven't tried yet though). To ssh myself over myself with -D tag so I can tunnel it just like I used to but this time instead of tunneling the server I can tunnel myself to put it on socks proxy.(I rather not use this nasty approach though)