Short Answer: No
Line links are achieved by anchor links. After parsing the HTML document, you browser has the knowledge of these anchors and can position the top line of your view frame to requested anchor.
In this example, anchor is named
On the other hand, raw files are text files and GitHub sends them as is with
Content-type: text/html; charset=utf-8 header. Response content is displayed as is and there is no possibility to direct browser to a predefined offset.