Yes, it is completely legal to buy views on YouTube. It is a famous social media strategy that can help get your videos discovered and is not at all against the law.