Is there any way to query work items that are part of a specific Release?
Thanks
There isn't the way to achieve that with query. You can try to build a extension to get work items of specific release.
Check this thread: TFS 2017 Release Management: How to display parent PBI for Tasks under Release