Yes! Just because you are not planning on getting your deck inspected, it needs to be built to code.

We have an entire post on the subject here: https://upsidedeckceiling.com/do-i-need-a-deck-rail/