Phone [Q] Can i flash a rom in locked BL?

Hello, i have an Xperia Z1 C6906, and it has locked bootloader, but i rooted it and flashed dual Recovery. If i want to install a custom rom in recovery just like most of the devices is possible? or i have to use the flash tool on the pc?
I just want to install a AOSP rom, im sick of Sony UI.