Can you hammer the nail into the concrete?

What you want to ask is whether to rivet concrete? It is not good to fix concrete with rivets. Rivets are usually used on metal materials and are fixed between two metal surfaces by expansion and locking. Concrete is hard and brittle. It is easy to crack or break, so it is not suitable for riveting, so riveting on concrete is not good.