Can an application that lets it canvas be sized to some proportion
of the browser window, i.e. where the pixel size is unknown at
development time, use these frameworks in a way such that they won't
break as the canvas changes size?

Many frameworks and users do handle canvas size changes, but this is all riding on canvas.width/height == pixels.