Earlier quoted context omitted.
Parent asked specifically about CA not TX ... thus my reply. I'm not commenting on what you or I feel is safe simply what is written. Debating the "IF's" under that I'm not interested in.
Here's the relevant California law: https://leginfo.legislature.ca.gov/faces/codes_displaySectio... . > 21202. (a) Any person operating a bicycle upon a roadway at a speed less than the normal speed of traffic moving in the same direction at that time shall ride as close as practicable to the right-hand curb or edge of the roadway except under any of the following situations: > [...] > (3) When reasonably necessary t…
For what it's worth, the typical lane width on a surface street is 10 feet [1], though in older designs, they may be up to 12 feet wide.
[1] https://nacto.org/publication/transit-street-design-guide/tr...