I know it is possible in javadoc, but is this possible in swift documentation for Xcode? Either local images or from a URL.
No, you can't include images for standard Swift
documentation except Playgrounds. For playgrounds, you can check these links Add resources to a playground, Images.