Is it legal to sell a prebuilt with bazzite installed?

i was thinking make a custom case and give end users bazzite preinstalled.