I don't think relying on youtube as a primary source of income is illegal. I have seen feeding their families with the help of youtube. Owning car, house everything based on youtube money. People living in countryside are not even aware of law properly and they are making their living out of youtube and staying happy.