Not really, no. Database table names for SuiteQL are not always the same as the record names. However, the column names as you are pointing out, should be the same. It would just be a matter of writing the script SQL in the correct format.
myCustomerQuery.createColumn({
fieldId: 'entityid'
})