Can I use a clause after Than?
You are better than when you were yesterday.
People have more chances of dying when they don't fasten their seatbelts than when they do.
You're faster than I am
Yes, you can use clauses after "than". Your last two examples are fine.
You first example doesn't work, though. You could say
"You are better than you were yesterday."