All of this is possible with HA either with automations or scripts. But to begin, you should integrate the broadlink to HA. This can be done within the UI. I hope you have already done that. The second step is to learn the codes. Here you have two methods, either use the service remote.learn_command from the developer console or you can use the broadlink manger software.
After learning the codes, you can either create switches for individual button like this
- platform: broadlink
mac: '78:0F:77:B9:5E:B4'
switches:
tvpower1:
friendly_name: "Samsung TV Power"
command_on: 'JgCMAJSVEjgSOBI4EhMSExITEhMSExI4EjgSOBITEhMSExITEhMSExI4EhMSExITEhMSExITEjgSExI4EjgSOBI4EjgSOBIABgqVlRI4EjgSOBITEhMSExITEhMSOBI4EjgSExITEhMSExITEhMSOBITEhMSExITEhMSExI4EhMSOBI3EzcTNxM3EzcTAA0FAAAAAAAAAAAAAAAA'
command_off: ''
or even directly use the code with the service remote.sent_command like this.
entity_id: remote.rm_pro_remote
command: b64:6QCYASYHJggPHSUIJAojCiMKDSAiCgwhDCEiDCELCyILIQwhDCEiCyILCyENAAFYDCEMIQwgIwojCiMLCyIhCyILIwoiDAoiIwsKIQwhIgwhCwwgDCEMIQwhIwoiCwwhDAABWQwhCyEMISMKIwshCwwhIgwhCyILIgwLISIMCiILISIMIA4JJAkjCiMJJB8OHxAHJAkAAVwLIgoiDCEiCyILIQ0LISEMIQwhDCINCSMgDQkjCiMhDCANCiMKIgsiCyIhDCEMCyIKAAFbDSAMIQwhIgsiCyILCyIiCyILIgsiCwsiIQ4JIgsiIQ0gCwwiCyEMIQwhIgsiCwwhDQABWA4fDSANICMKJAkiCwwhIwoiDCEMIQsMISILDCEMISMKIgsMIQ0gCyEMISILIgwLIQwAAVoNIA0fDSAjCyIMIgoNICILIgsjCiILDCEiCwsjCiIiCyILCyEMIQwhDCEjCiILDCEMAAFZDh8NIA0gIwojCyIKDCEjCyIKIwsiCgwhIwsLIQwhJAkiCwwhDCEMIQsiIgwhCwwhCwAF3A==
Then its just a matter of building automations which could be done from the UI itself. You should create input_booleans for each activity and use it as the trigger for automaions.
The final step would be to integrate this automation with google assistant. For this, you should first open HA to google assistant. This can be achieved by nabu casa or through the following method. https://www.youtube.com/watch?v=RqGi_GI0ltU
After opening HA to google assitant, expose the input_booleans to google home and use it in routines or as switches to trigger the automation.
The same can be done with NFC tags, you just have to use the tag scanned as the event to trigger the automation.
I know my explanation maybe not so thorough but let me know if you want help with each and every step.