Technically, yes, you can install carpet on concrete. You should have padding that will serve as a moisture barrier, so your carpet doesn’t get damaged immediately.