I also have a M5 and a Joyo PXL Live and have the same question , My guess is ( and I'm guessing here ) as long as you only have one side on at a time ( in front of amp or effect loop but not both ) it should work. It would be a lot nicer to get info from some one who knows rather than me taking a chance on a guess .
Any help out there ??? Thanks