There's a guy here in Colorado Springs whose an epileptic has seizures rides on the sidewalk dose not dare ride in the street can't get any license vehicle it almost pisses me off, he is so damn slow has to make so many left and right angle turns.
But I can empathize with him I once had a drug induce seizure the most horrifying thing to pass out out wake up banging your head against anything hard. I had to put on a motorcycle helmet jump a fence with blanket at night to a golf course to pass out wake up banging my head on the lawn guess he is just as scared.
So, I think it would be ok I use to ride sidewalks until I got confident of traffic, but don't make YouTube videos riding the sidewalk people boo and cuss to stay the hell off the sidewalk.
I know it's legal here because we have NORAD here and many military bases. I talk to the airforce and there are military preparedness laws possible EMF effect only thing to relay message is bike rider from one base to another you don't even need a light due to there may be a sniper waiting to shoot message riders at night so they made it a no law so the police won't impair a message rider. I got stop one night by a lady cop said hey aren't you supposed to have a headlight? Nope, it's the law no bike lights are privileged!
So your probably ok, unless you hit someone and get sued carry insurance if you can afford it.