Specifying a custom node id when creating new content
In the UI no, and you should never interact with the database directly.

But you can do this with the API easily:

$node = Node::create(['type' =&gt; 'article', 'nid' =&gt; 5]);
$node-&gt;enforceIsNew(TRUE);
$node-&gt;save();