Well, you need to think about how you would do this in InDesign's UI. And just as it's impossible to "remove" a cell from a table in the UI, so it's impossible to do so via scripting.
What you might do in the UI is merge the cell with another one, or delete its borders if it has any. So those operations can be done via scripting as well.
But to remove a cell? No such thing!
OK, great; thanks for your explanation TaW. I guess I'll look up how to merge the cell with another one.
You'll see that a Cell object has a "merge" method:
Cell.merge (with:varies): Cell
Adobe InDesign CC 2015 (9.0) Object Model
Merges the cells.
with: Data Type: varies
The cell(s) to merge with. Can accept: Cell, Row or Column. (Optional)
So, it seems that it's just a question of getting a reference to another cell, row or column, and merging()! Haven't tried it, but it should be straightforward.