Can y = 20x be a possible function rule?

sure. Each value of x produces a single value for y. That makes it a function.