Generally, you can install a cooker hood on the internal wall, but there are a few drawbacks. If you put an extractor on the inner wall, you transfer the extracted air from the kitchen to another room. Unless this is your goal in the first place, you should install rectangular ductwork. It connects to the attack and then to the outside, either through the soffit or the roof.