No, better not. There's so many things that can go wrong. If possible, try to get the floor even first and no matter what you intend to lay on it. If it's somehow impossible to get the floor even, try something you can replace easily later on. Like wood panels. Or parquette.