I love weightlifting. It looks really cool. It’s gymnastics with heavy weight.
If you want to do it- give it a try. A few points to ponder though:
WLing requires a great deal of technique training. As such your progress will be extrememly limited if you can’t get with some more experienced lifters. Check the USAWL website for teams in your area.
While powerlifting is very much influenced by technique- especially once you throw gear into the equation- the basic 3 lifts can be done with not a lot of technique. If you get stronger, your squat, bench and dead will go up- this is not necessarily the case with your snatch and C&J.
If you are a larger and/or older guy with various nagging, injury-prone knees and shoulders, WLing is a rough game to get started in. I speak from some experience here and -frankly, weightlifting can be rough on your body.
It’s ballistic movements with no support gear. When I squat or bench, I can put on some kind of bench shirt to protect my shoulders, briefs for my hips, knee-wraps, etc.
If you plan on remaining drug-free, you can compete in either sport. Arguably, there is a fair amount of drug use in the upper echelons on both sports. However, this is all up to you.