Can I run ico-sale with wavesplatform?

I’ve searched all posts here, but didn’t find what I meant. I want to ask whether wavesplatform can do the same thing as ERC20 tokens, automatic transactions can occur. ICO buyers send a number of waves to a specific address and the desired token will be sent automatically according to the number of waves sent? if that is possible, are there articles that discuss this in detail, thank you