I think the right phrase would be "No sabìa que se podia hacer eso", or "No sabia que lo podias hacer" or "no sabia que se puede hacer"
The point is that these are just ways into traslate a phrase, sometimes you need to invert words expecially from english to spanish or italian languages. The phrases in these 2 languages are structured in a different way.