Can you cook your meal by slapping it for hours instead of using oven?

Can you cook your meal by slapping it for hours instead of using oven?