you could but that is normally done using WFS protocol