Some parts of the ACA could be implemented in state law, some would be either illegal or impractical at the state level. It's also likely that a repeal would be accompanied or followed by federal policies which would make state-specified versions of the ACA less practical than they are now.
> what prevents California for instance of giving health coverage for its residents?
California already provides state-run send healthcare beyond the requirements of the federal programs it participates in.