Repeats in some parts. Is this possible? Pro 3.5

This also came up in the thread on bar numbers (Bar Numbers and Repeat Endings - #15 by PjotrB).

It is a feature I would welcome.