No, you should not walk on the carpet just after cleaning as the wet condition of the carpet attracts more dirt particles. There will be chances of other consequences like mould growth and bad odour too.