Yes, it is achievable. The code as follows:
using Word = Microsoft.Office.Interop.Word;
public void DrawShape()
{
try{
var wordApp = new Word.Application();
wordApp.Documents.Add(System.Type.Missing);
Word.Document doc = wordApp.ActiveDocument;
var shape = doc.Shapes.AddShape((int)Microsoft.Office.Core.MsoAutoShapeType.msoShapeRectangle, 20, 20, 60, 20);
}
catch(Exception ex) { }
}
The aforementioned code draws a rectangle of width: 60, height: 20 at position (20, 20) in the top left corner position of the document's first page. Keep in mind, (0,0) is the beginning point from the top left corner of the first page of the Doc file.
Here, Shapes.AddShape should do the trick.
Shape AddShape(int Type, float Left, float Top, float Width, float Height, ref object Anchor = Type.Missing);
More on SHapes.AddShape(): https://msdn.microsoft.com/en-us/library/microsoft.office.interop.word.shapes.addshape.aspx
And for different types of shapes refer to MsoAutoShapeType: https://msdn.microsoft.com/en-us/library/microsoft.office.core.msoautoshapetype.aspx