Yes but it does not allow for movement, or connections like you would use in a vehicle.
Toyota has a hydrogen powered car which stores it’s hydrogen in a 70MPa/10,000PSI tank. They have a functional system in place for refueling the vehicles.
A new technology under initial development with DOE since 2009 binds hydrogen to a nano-patterned magnesium alloy (hydride) film. There is no gas pressure inherent in the medium in storage mode. A ribbon of this storage medium passes through a laser scanning system to liberate the hydrogen as gas for immediate use upon a demand basis.