I don't have have experience with Symphytum grandiflorum/Dwarf Comfrey. From what I read don't plant it if you don't want it to spread into the
raised bed.
I do have this experience with the Boking varieties. In deep sandy soils it grows large
deep roots and large leaves and flower stalks. In shallow clay soil it will persist but remain small and flower infrequently.
I do not understand the purpose of the proposed raised beds and paths between. Comfrey is not an ideal plant to walk on though walking on it will perhaps suppress it It is is an effective plant to maintain the border of a raised bed if it is the non reproducing hybrid.