Yes these are done to improve core stability. but one needs to resolve the sciatica early. as you know there are many causes of sciatica and for some (eg. disc prolapse) flexion can actually worsen the problem.
in a nut shell one can encourage flexion and extension exs. but the question is; when should one do these exercises.