People love to say YouTube can teach you anything, and you have probably learned a fix or two there. But can it take you to a professional level? Mostly, yes, if you use it like a curriculum.
The problem is that YouTube is unstructured by design. You watch one video, then the algorithm drifts you into entertainment, and you never build the skill in order.
The fix is to treat a playlist as a course. Find a reputable channel with a full beginner to advanced series, follow it in order, and take notes and do the exercises instead of just watching.
YouTube is an outstanding free resource, but it demands more discipline than a paid course. Supply the structure yourself, and it can absolutely get you job ready without spending a dollar.