Yes using the following code which I'm surprised you didn't post as it would make it so much more likely that somebody will respond.
p.s. on my system it seems to be a max line width of 10.0 for OGL driver
SetGraphicsDriver GLMax2DDriver() Graphics 640,480 HideMouse While Not KeyHit(KEY_ESCAPE) Cls x=MouseX() y=MouseY() SetLineWidth(30) DrawLine 320,240,x,y Flip Wend
p.s. on my system it seems to be a max line width of 10.0 for OGL driver