True, but it is unlikely that you could build one that is cheaper than a commercial miniature rubidium clock.
Already a rubidium vapor cell costs about two thirds of the cost of a commercial Rb clock.