Yeah exactly that's the correct way to do it, if you rbf you need to tell your channel peer about it. I'm not sure if every implementation supports that though