Generally severance is structured such that it's voluntary, and comes earlier than layoffs. You don't get a big package if you wait for a layoff to be fired. That produces a moral hazard that encourages exactly the kind of fraud you're suggesting.
(And yes, what you're suggesting is straight up fraud.)