Yes, that works fine in Safari 10, Chrome 58 and Firefox 52 running in default mode on macOS.
However, with private browsing mode on Firefox enabled, I see this error in the console:
The resource at “http://platform.twitter.com/widgets.js” was blocked because tracking protection is enabled.
This is expected behaviour. If the Javascript is not able to be loaded, the widget cannot be rendered. This is browser behaviour, and this is not something that we can control.