Possible to change a comma-separated output (from a checkbox) into a stacked list via CSS only?


I'm building profiles with the Ultimate Member plugin, and I have a checkbox field with a list of possible items that a user can check off to be displayed on their profile. Unfortunately the output is then displayed as a comma-separated list. This looks weird and doesn't suit the values given. I'd much rather the output be displayed as a stacked list (an unordered list would be best, but it's not necessary).

So a checkbox output of....

Option 1, Option 2, Option 3

...would look like this instead:

Option 1
Option 2
Option 3

So is it possible to change the way a comma-separated output is displayed with just CSS only?