For a perfect tan, absolutely not. The skin gradually acquires colour, and it is easier to avoid problems such as burns or acute exposures that increase the risk of suffering some type of skin cancer.
Protect yourself and be aware that, depending on your skin type, it will take more or less sessions to get the tone you want.
For a perfect tan, you can reduce the degree of protection as your skin becomes darker. But it is not advisable to choose a PF lower than 30, as this is extremely poor protection.