For readability, this is reasonable. There may be a cost that it weakens some static analyzers, but I don't program in C enough to be sure.
For performance, this is not necessary because the compiler can optimize long switch-case flow into dispatch tables: https://godbolt.org/z/7WxEfc6YM