Q: Is this legal? Is it safe?

Your bike must be either behind the white line, or fully in the intersection