The reason why anime episodes are normally 20 minutes long is because the anime creators get 30 minute broadcast time frames per week which includes advertisements, so if you exclude the advertisements it's only around 24 minutes long. Another reason is that prolonged episodes can make the audience get bored easily.