Not really. To get the page object properties, like the NodeAliasPath, you need to get the page object instance at first - so, you are somehow contradicting your code. If you need to get the properties of the current page and work with the current page object then you be retrieveing the data context by using the PageDataContextRetriever service (requires manual initialization of the page data context for pages handled by custom routes based on page type URL patterns).
Or, when you look into the Dancing Goat sample project, there is something similar implemented in the ArticlesController.cs:
public IActionResult Index([FromServices] IPageDataContextRetriever dataContextRetriever, [FromServices] IPageUrlRetriever pageUrlRetriever, [FromServices] IPageAttachmentUrlRetriever attachmentUrlRetriever) {
var section = dataContextRetriever.Retrieve< TreeNode >().Page;
var articles = articleRepository.GetArticles(section.NodeAliasPath);
and then the section variable contains the NodeAliasPath property value.