Yes, if you put your hashtags in the comments, your post will rank for those hashtags. It’s the same as adding them to your captions.