Hi Hanan,
I have never used canned spinach, so I'm not sure how it would turn
out, I do recommend using fresh spinach though, it has a different
texture. No you do not have to cook the spinach and onions prior to
stuffing the pies, but make sure you don't skip the first part, you
MUST extract the water from the spinach.
HAPPY COOKING!