If you wanna compete in the amateures you'll be fine if you train hard. If you wanna turn pro then go ahead but keep in mind you'll compete with guys who boxed since they were toddlers so you're gonna have a huge disadvantage in terms of experience and overall skills. If you just wanna train at the gym don't worry there are a lot of 30 or even 40 year old guys in most gyms.