Its possible to avoid scams if you are buying only very strong projects that have history, big teams, already billions $ of marketcap etc.
Its impossible to avoid it if you wanna be an early adopter and searching lowcaps to invest. Thats way diversification is so important.