Sorry, you can not use it outside of Guttenberg block.
but you can get same result every where in wp-admin by using the following solution,
For Detail visit the WP Official Documentation
this.posts = {};
this.posts = new wp.api.models.Post();
this.posts.fetch().then( response => {
console.log(response);
});
The following is an example how i have used it on my pluging custom testing page which was developed on gutenberg components.
import {render,Component} from "@wordpress/element";
class TestingPage extends Component {
constructor() {
super( ...arguments );
// Solution - Start
this.posts = {};
this.posts = new wp.api.models.Post();
this.posts.fetch().then( response => {
console.log(response);
});
// Solution - End
}
render(
<TestingPage/>,
document.getElementById( 'testing-page' )
);